package com.sn.pw.vo.resp;

import java.util.Date;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;
import lombok.experimental.Accessors;
import com.fasterxml.jackson.annotation.JsonFormat;

/**
* <p>
* 人员信息VO
* </p>
*
* @author mx
* @since 2023-12-06
*/
@Data
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)
@ApiModel(value = "UserResp对象", description = "人员信息")
public class UserResp {

    @ApiModelProperty(value = "人员ID")
    private Long userId;

    @ApiModelProperty(value = "人员姓名")
    private String personName;

    @ApiModelProperty(value = "主键")
    private Long id;

    @ApiModelProperty(value = "手机号")
    private String phone;

    @ApiModelProperty(value = "密码")
    private String password;

    @ApiModelProperty(value = "类型")
    private Integer type;

    @ApiModelProperty(value = "物流公司ID")
    private Long companyId;

    @ApiModelProperty(value = "openId")
    private Integer openid;

    @ApiModelProperty(value = "是否是超级管理员")
    private Integer superAdmin;

    @ApiModelProperty(value = "token")
    private Integer token;

    @ApiModelProperty(value = "逻辑删除字段 0未删除 1删除")
    private Integer isDelete;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "Asia/Shanghai")
    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "Asia/Shanghai")
    @ApiModelProperty(value = "更新时间")
    private Date updateTime;

    @ApiModelProperty(value = "创建者")
    private String creator;

    @ApiModelProperty(value = "更新者")
    private String updater;

}